<template>
    <el-table :data="GradeData" border highlight-current-row
              style="width: 100%;">
        <el-table-column type="index" width="60"></el-table-column>
        <el-table-column prop="studentname" label="学生姓名" min-width="150"></el-table-column>
        <el-table-column prop="studentclass" label="班级" min-width="150"></el-table-column>
        <el-table-column prop="studentgrade" label="分数" min-width="150"></el-table-column>

        <el-table-column label="操作" min-width="250" prop="dataList">
            <template slot-scope="scope" >
                <el-button size="mini" @click="GoStudentGarde(2)" icon="el-icon-edit" >导出详情得分</el-button>
            </template>
        </el-table-column>
    </el-table>
</template>

<script>
    export default {
        name: "student-grade",
        data(){
            return{
                GradeData:[{
                    studentname:"ccc",
                    studentclass:"计算机666",
                    studentgrade:"99",
                }]
            }
        }
    }
</script>

<style scoped>

</style>